using System.Data.Common;
using System;

namespace Sinacor.Infra.Service.Data
{
    public class TransactionConnection
    {
        private PSE.Framework.Data.Oracle.OracleDatabase _bancoDados;
        public PSE.Framework.Data.Oracle.OracleDatabase BancoDados
        {
            get { return _bancoDados; }
            set { _bancoDados = value; }
        }

        private string _codigoThreadCompany;
        public string CodigoThreadCompany
        {
            get { return _codigoThreadCompany; }
            set { _codigoThreadCompany = value; }
        }

        private DbConnection _connection;
        public DbConnection Connection
        {
            get { return _connection; }
            set { _connection = value; }
        }

        private DbTransaction _transaction;
        public DbTransaction Transaction
        {
            get { return _transaction; }
            set { _transaction = value; }
        }
    }
}
